import React from 'react'
import ReactDOM from 'react-dom/client'
// 引入Provider
import { Provider } from 'react-redux'

import App from './App'
// 引入redux代码
import store from './redux/store'

import './index.css'
import 'antd/dist/antd.css'

const root = ReactDOM.createRoot(document.getElementById('root') as HTMLElement)
root.render(
  <React.StrictMode>
    <Provider store={store}>
      <App />
    </Provider>
  </React.StrictMode>
)
